package com.webchat.chat.service;
import com.webchat.chat.core.enums.SocketRoomStatus;
import com.webchat.chat.model.RoomClient;
import com.webchat.chat.core.Service;

import java.util.List;


/**
 * Created by admin on 2018-06-29.
 */
public interface RoomClientService extends Service<RoomClient> {

    List<RoomClient> findByCondition(RoomClient condition);

    RoomClient findByRoomId(String roomId, String clientId);

    List<RoomClient> findByRoomId(String roomId);

    List<RoomClient> findByRoomId(String roomId, SocketRoomStatus status);

    List<RoomClient> findByclientId(String clientId, SocketRoomStatus status);
}
